package com.jevons.muffin.event;

import android.content.Intent;

/**
 * Copyright 2020 JxGIS
 *
 * @file StartActivityEvent
 * @auth linaisheng
 * Created on 2021/6/30.
 * Description：
 */
public class StartActivityEvent implements IActionEvent {

    private Class clz;

    private Intent intent;

    private boolean isFinishActivity;

    public StartActivityEvent(Class clz) {
        this.clz = clz;
    }

    public StartActivityEvent(Intent intent) {
        this.intent = intent;
    }

    public StartActivityEvent(Intent intent, boolean isFinishActivity) {
        this.intent = intent;
        this.isFinishActivity = isFinishActivity;
    }

    public Class getClz() {
        return clz;
    }

    public Intent getIntent() {
        return intent;
    }

    public boolean isFinishActivity() {
        return isFinishActivity;
    }
}
